package com.bestv.search.common.dao;

import com.bestv.search.common.model.Entrance;

import java.util.List;

public interface EntranceDao extends GenericDao<Entrance, Long> {

    Entrance getEntranceById(Long id);

    List<Entrance> getEntrances();

    List<Entrance> getComms(String typename);

    Entrance saveEntrance(Entrance entrance);

    Entrance getEntranceByUrl(String url);
}
